Integrand size = 35, antiderivative size = 246 \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x) (A+B \cos (c+d x))}{(a+a \cos (c+d x))^{5/2}} \, dx=\frac {(2 A-5 B) \arcsin \left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {a+a \cos (c+d x)}}\right )}{a^{5/2} d}-\frac {(43 A-115 B) \arctan \left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}\right )}{16 \sqrt {2} a^{5/2} d}+\frac {(A-B) \cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}+\frac {(7 A-15 B) \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{16 a d (a+a \cos (c+d x))^{3/2}}-\frac {(11 A-35 B) \sqrt {\cos (c+d x)} \sin (c+d x)}{16 a^2 d \sqrt {a+a \cos (c+d x)}} \]
[Out]
Time = 0.97 (sec) , antiderivative size = 246, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {3056, 3062, 3061, 2861, 211, 2853, 222} \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x) (A+B \cos (c+d x))}{(a+a \cos (c+d x))^{5/2}} \, dx=\frac {(2 A-5 B) \arcsin \left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {a \cos (c+d x)+a}}\right )}{a^{5/2} d}-\frac {(43 A-115 B) \arctan \left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {\cos (c+d x)} \sqrt {a \cos (c+d x)+a}}\right )}{16 \sqrt {2} a^{5/2} d}-\frac {(11 A-35 B) \sin (c+d x) \sqrt {\cos (c+d x)}}{16 a^2 d \sqrt {a \cos (c+d x)+a}}+\frac {(A-B) \sin (c+d x) \cos ^{\frac {5}{2}}(c+d x)}{4 d (a \cos (c+d x)+a)^{5/2}}+\frac {(7 A-15 B) \sin (c+d x) \cos ^{\frac {3}{2}}(c+d x)}{16 a d (a \cos (c+d x)+a)^{3/2}} \]
[In]
[Out]
Rule 211
Rule 222
Rule 2853
Rule 2861
Rule 3056
Rule 3061
Rule 3062
Rubi steps \begin{align*} \text {integral}& = \frac {(A-B) \cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}+\frac {\int \frac {\cos ^{\frac {3}{2}}(c+d x) \left (\frac {5}{2} a (A-B)-a (A-5 B) \cos (c+d x)\right )}{(a+a \cos (c+d x))^{3/2}} \, dx}{4 a^2} \\ & = \frac {(A-B) \cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}+\frac {(7 A-15 B) \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{16 a d (a+a \cos (c+d x))^{3/2}}+\frac {\int \frac {\sqrt {\cos (c+d x)} \left (\frac {3}{4} a^2 (7 A-15 B)-\frac {1}{2} a^2 (11 A-35 B) \cos (c+d x)\right )}{\sqrt {a+a \cos (c+d x)}} \, dx}{8 a^4} \\ & = \frac {(A-B) \cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}+\frac {(7 A-15 B) \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{16 a d (a+a \cos (c+d x))^{3/2}}-\frac {(11 A-35 B) \sqrt {\cos (c+d x)} \sin (c+d x)}{16 a^2 d \sqrt {a+a \cos (c+d x)}}+\frac {\int \frac {-\frac {1}{4} a^3 (11 A-35 B)+4 a^3 (2 A-5 B) \cos (c+d x)}{\sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}} \, dx}{8 a^5} \\ & = \frac {(A-B) \cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}+\frac {(7 A-15 B) \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{16 a d (a+a \cos (c+d x))^{3/2}}-\frac {(11 A-35 B) \sqrt {\cos (c+d x)} \sin (c+d x)}{16 a^2 d \sqrt {a+a \cos (c+d x)}}-\frac {(43 A-115 B) \int \frac {1}{\sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}} \, dx}{32 a^2}+\frac {(2 A-5 B) \int \frac {\sqrt {a+a \cos (c+d x)}}{\sqrt {\cos (c+d x)}} \, dx}{2 a^3} \\ & = \frac {(A-B) \cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}+\frac {(7 A-15 B) \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{16 a d (a+a \cos (c+d x))^{3/2}}-\frac {(11 A-35 B) \sqrt {\cos (c+d x)} \sin (c+d x)}{16 a^2 d \sqrt {a+a \cos (c+d x)}}+\frac {(43 A-115 B) \text {Subst}\left (\int \frac {1}{2 a^2+a x^2} \, dx,x,-\frac {a \sin (c+d x)}{\sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}\right )}{16 a d}-\frac {(2 A-5 B) \text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {x^2}{a}}} \, dx,x,-\frac {a \sin (c+d x)}{\sqrt {a+a \cos (c+d x)}}\right )}{a^3 d} \\ & = \frac {(2 A-5 B) \arcsin \left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {a+a \cos (c+d x)}}\right )}{a^{5/2} d}-\frac {(43 A-115 B) \arctan \left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {2} \sqrt {\cos (c+d x)} \sqrt {a+a \cos (c+d x)}}\right )}{16 \sqrt {2} a^{5/2} d}+\frac {(A-B) \cos ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{4 d (a+a \cos (c+d x))^{5/2}}+\frac {(7 A-15 B) \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{16 a d (a+a \cos (c+d x))^{3/2}}-\frac {(11 A-35 B) \sqrt {\cos (c+d x)} \sin (c+d x)}{16 a^2 d \sqrt {a+a \cos (c+d x)}} \\ \end{align*}
Time = 2.19 (sec) , antiderivative size = 311, normalized size of antiderivative = 1.26 \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x) (A+B \cos (c+d x))}{(a+a \cos (c+d x))^{5/2}} \, dx=\frac {\left (-8 (11 A-35 B) \arcsin \left (\sqrt {1-\cos (c+d x)}\right ) \cos ^4\left (\frac {1}{2} (c+d x)\right )-344 A \arcsin \left (\sqrt {\cos (c+d x)}\right ) \cos ^4\left (\frac {1}{2} (c+d x)\right )+920 B \arcsin \left (\sqrt {\cos (c+d x)}\right ) \cos ^4\left (\frac {1}{2} (c+d x)\right )+4 \sqrt {2} (43 A-115 B) \arctan \left (\frac {\sqrt {\cos (c+d x)}}{\sqrt {\sin ^2\left (\frac {1}{2} (c+d x)\right )}}\right ) \cos ^4\left (\frac {1}{2} (c+d x)\right )-30 A \sqrt {1-\cos (c+d x)} \cos ^{\frac {3}{2}}(c+d x)+110 B \sqrt {1-\cos (c+d x)} \cos ^{\frac {3}{2}}(c+d x)+32 B \sqrt {1-\cos (c+d x)} \cos ^{\frac {5}{2}}(c+d x)-22 A \sqrt {-((-1+\cos (c+d x)) \cos (c+d x))}+70 B \sqrt {-((-1+\cos (c+d x)) \cos (c+d x))}\right ) \sin (c+d x)}{32 d \sqrt {1-\cos (c+d x)} (a (1+\cos (c+d x)))^{5/2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(586\) vs. \(2(209)=418\).
Time = 17.80 (sec) , antiderivative size = 587, normalized size of antiderivative = 2.39
method | result | size |
default | \(\frac {\left (43 A \sqrt {2}\, \arcsin \left (\cot \left (d x +c \right )-\csc \left (d x +c \right )\right ) \left (\cos ^{2}\left (d x +c \right )\right )-115 B \sqrt {2}\, \arcsin \left (\cot \left (d x +c \right )-\csc \left (d x +c \right )\right ) \left (\cos ^{2}\left (d x +c \right )\right )+32 B \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}+86 A \sqrt {2}\, \arcsin \left (\cot \left (d x +c \right )-\csc \left (d x +c \right )\right ) \cos \left (d x +c \right )+64 A \left (\cos ^{2}\left (d x +c \right )\right ) \arctan \left (\tan \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\right )-30 A \cos \left (d x +c \right ) \sin \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}-230 B \sqrt {2}\, \arcsin \left (\cot \left (d x +c \right )-\csc \left (d x +c \right )\right ) \cos \left (d x +c \right )-160 B \left (\cos ^{2}\left (d x +c \right )\right ) \arctan \left (\tan \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\right )+110 B \cos \left (d x +c \right ) \sin \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}+43 A \sqrt {2}\, \arcsin \left (\cot \left (d x +c \right )-\csc \left (d x +c \right )\right )+128 A \cos \left (d x +c \right ) \arctan \left (\tan \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\right )-22 A \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \sin \left (d x +c \right )-115 B \sqrt {2}\, \arcsin \left (\cot \left (d x +c \right )-\csc \left (d x +c \right )\right )-320 B \cos \left (d x +c \right ) \arctan \left (\tan \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\right )+70 B \sin \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}+64 A \arctan \left (\tan \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\right )-160 B \arctan \left (\tan \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\right )\right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}\, \left (\sqrt {\cos }\left (d x +c \right )\right )}{32 a^{3} d \left (1+\cos \left (d x +c \right )\right )^{3} \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}}\) | \(587\) |
parts | \(-\frac {A {\left (-\frac {\left (\csc ^{2}\left (d x +c \right )\right ) \left (1-\cos \left (d x +c \right )\right )^{2}-1}{\left (\csc ^{2}\left (d x +c \right )\right ) \left (1-\cos \left (d x +c \right )\right )^{2}+1}\right )}^{\frac {5}{2}} {\left (\left (\csc ^{2}\left (d x +c \right )\right ) \left (1-\cos \left (d x +c \right )\right )^{2}+1\right )}^{3} \sqrt {\frac {a}{\left (\csc ^{2}\left (d x +c \right )\right ) \left (1-\cos \left (d x +c \right )\right )^{2}+1}}\, \left (-2 \left (\csc ^{3}\left (d x +c \right )\right ) \sqrt {-\left (\csc ^{2}\left (d x +c \right )\right ) \left (1-\cos \left (d x +c \right )\right )^{2}+1}\, \left (1-\cos \left (d x +c \right )\right )^{3}+32 \sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, \sqrt {-\left (\csc ^{2}\left (d x +c \right )\right ) \left (1-\cos \left (d x +c \right )\right )^{2}+1}\, \left (\csc \left (d x +c \right )-\cot \left (d x +c \right )\right )}{\left (\csc ^{2}\left (d x +c \right )\right ) \left (1-\cos \left (d x +c \right )\right )^{2}-1}\right )+13 \sqrt {-\left (\csc ^{2}\left (d x +c \right )\right ) \left (1-\cos \left (d x +c \right )\right )^{2}+1}\, \left (\csc \left (d x +c \right )-\cot \left (d x +c \right )\right )-43 \arcsin \left (\cot \left (d x +c \right )-\csc \left (d x +c \right )\right )\right ) \sqrt {2}}{32 d {\left (-\left (\csc ^{2}\left (d x +c \right )\right ) \left (1-\cos \left (d x +c \right )\right )^{2}+1\right )}^{\frac {5}{2}} a^{3}}+\frac {B \left (16 \sqrt {2}\, \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right )-80 \sqrt {2}\, \arctan \left (\tan \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\right ) \left (\cos ^{2}\left (d x +c \right )\right )+55 \sqrt {2}\, \cos \left (d x +c \right ) \sin \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}-115 \arcsin \left (\cot \left (d x +c \right )-\csc \left (d x +c \right )\right ) \left (\cos ^{2}\left (d x +c \right )\right )-160 \sqrt {2}\, \arctan \left (\tan \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\right ) \cos \left (d x +c \right )+35 \sin \left (d x +c \right ) \sqrt {2}\, \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}-230 \arcsin \left (\cot \left (d x +c \right )-\csc \left (d x +c \right )\right ) \cos \left (d x +c \right )-80 \sqrt {2}\, \arctan \left (\tan \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\right )-115 \arcsin \left (\cot \left (d x +c \right )-\csc \left (d x +c \right )\right )\right ) \left (\sqrt {\cos }\left (d x +c \right )\right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}\, \sqrt {2}}{32 d \left (1+\cos \left (d x +c \right )\right )^{3} \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, a^{3}}\) | \(676\) |
[In]
[Out]
none
Time = 8.57 (sec) , antiderivative size = 302, normalized size of antiderivative = 1.23 \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x) (A+B \cos (c+d x))}{(a+a \cos (c+d x))^{5/2}} \, dx=\frac {\sqrt {2} {\left ({\left (43 \, A - 115 \, B\right )} \cos \left (d x + c\right )^{3} + 3 \, {\left (43 \, A - 115 \, B\right )} \cos \left (d x + c\right )^{2} + 3 \, {\left (43 \, A - 115 \, B\right )} \cos \left (d x + c\right ) + 43 \, A - 115 \, B\right )} \sqrt {a} \arctan \left (\frac {\sqrt {2} \sqrt {a \cos \left (d x + c\right ) + a} \sqrt {\cos \left (d x + c\right )}}{\sqrt {a} \sin \left (d x + c\right )}\right ) + 2 \, {\left (16 \, B \cos \left (d x + c\right )^{2} - 5 \, {\left (3 \, A - 11 \, B\right )} \cos \left (d x + c\right ) - 11 \, A + 35 \, B\right )} \sqrt {a \cos \left (d x + c\right ) + a} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right ) - 32 \, {\left ({\left (2 \, A - 5 \, B\right )} \cos \left (d x + c\right )^{3} + 3 \, {\left (2 \, A - 5 \, B\right )} \cos \left (d x + c\right )^{2} + 3 \, {\left (2 \, A - 5 \, B\right )} \cos \left (d x + c\right ) + 2 \, A - 5 \, B\right )} \sqrt {a} \arctan \left (\frac {\sqrt {a \cos \left (d x + c\right ) + a} \sqrt {\cos \left (d x + c\right )}}{\sqrt {a} \sin \left (d x + c\right )}\right )}{32 \, {\left (a^{3} d \cos \left (d x + c\right )^{3} + 3 \, a^{3} d \cos \left (d x + c\right )^{2} + 3 \, a^{3} d \cos \left (d x + c\right ) + a^{3} d\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x) (A+B \cos (c+d x))}{(a+a \cos (c+d x))^{5/2}} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\cos ^{\frac {5}{2}}(c+d x) (A+B \cos (c+d x))}{(a+a \cos (c+d x))^{5/2}} \, dx=\int { \frac {{\left (B \cos \left (d x + c\right ) + A\right )} \cos \left (d x + c\right )^{\frac {5}{2}}}{{\left (a \cos \left (d x + c\right ) + a\right )}^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x) (A+B \cos (c+d x))}{(a+a \cos (c+d x))^{5/2}} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int \frac {\cos ^{\frac {5}{2}}(c+d x) (A+B \cos (c+d x))}{(a+a \cos (c+d x))^{5/2}} \, dx=\int \frac {{\cos \left (c+d\,x\right )}^{5/2}\,\left (A+B\,\cos \left (c+d\,x\right )\right )}{{\left (a+a\,\cos \left (c+d\,x\right )\right )}^{5/2}} \,d x \]
[In]
[Out]